package com.zoe.onelink.enhancer.init.event;

import lombok.Data;

import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-12-24
 */
@Data
public class OnelinkInitResult {

    private List<Throwable> failureExceptions = new CopyOnWriteArrayList<>();

    public void addFailureEx(Throwable ex) {
        this.failureExceptions.add(ex);
    }

}
